################################################
################################################

Guide for reproducing the results, figures, and tables for:

Bertolotti et al. 202X. "Estimating the Impact of Drone Strikes on Civilians Using Call Detail Records." British Journal of Political Science

Each numbered item in the list below refers to a python script or R file in the Dataverse file structure. Each numbered item includes a brief description of the analyses and results in the file, and names the datasets, and the output for each.

################################################
################################################

(1) Figure1_chart.ipynb
	Description: Plots temporal variation in drone strikes from 2001-2023
	Data: /data_general/yemen_strikes_newamerica.xlsx
	Output: Figure 1

(2) Figure2_mobility.ipynb
	Description: Estimates event study design for cell subscriber daily mobility around
        drone strikes and distance from strike sites
	Data: /data_general/drone_strike_data.csv, /data_mobility/mobility_daily.csv,
	      /data_mobility/distance_daily.csv, /data_mobility/duration_away_##.csv
	Output: Figures 2a, 2b, various statistics in text of paper

(3) Figure3_map.ipynb
	Description: Produces displacement map showing subscriber locations before/after strikes
	Data: /data_general/yem-adm2-json-1.json, /data_general/yem-adm1-json-2.json,
	      /data_general/cso_2016_population_projection_sexage_disagreggated.xlsx,
	      /data_general/drone_strike_data.csv/, /data_mobility/eyewitness_locs_at_call.csv,
	      /data_mobility/eyewitness_locs_plus_24.csv
	Output: Figures 3a, 3b

(4) Figure4_mobility_placebo.ipynb
	Description: Estimates event study design for non-drone comparison events
	Data: /data_general/comparison_events.csv
	      /data_mobility/distance_traveled_comparison_events.csv
	Output: Figures 4a, 4b, 4c, 4d, 4e

(5) FigureS1-S9-TableS2_various.ipynb
	Description: Various analyses in SI
	Data: /data_cascades/calling_cascade_%s_%s.csv
	      /data_si/cascade_response_standardized.csv
	      /data_si/cascade_response_standardized_comparison_events.csv
	      /data_si/cascade_response_standardized_exoverlap.csv
	      /data_si/cascade_response_standardized_function_of_radius.csv
	      /data_si/cascade_response_standardized_radius_5mile.csv
	      /data_si/cascades_baseline_function_of_response.csv
	      /data_si/cascades_counts_function_of_response.csv
	      /data_si/cso_2016_population_projection_sexage_disagreggated.csv
	      /data_si/distance_traveled_comparison_events.csv
	      /data_si/distance_traveled_function_of_radius.csv
	      /data_si/distance_traveled_radius_5mile.csv
	      /data_si/drones_combined_clean.csv
	      /data_si/drones_combined_notated.csv
	      /data_si/drones_district_ids.csv
	      /data_si/duration_away_days.csv
	Output: Figures S6-S7, S9

(6) FigureS10,S15_mobility_adjustment.ipynb
	Description: Robustness checks for results in Figures 2a, 2b
	Data: /data_general/drone_strike_data.csv, /data_mobility/mobility_daily.csv,
	      /data_mobility/distance_daily.csv, /data_mobility/duration_away_##.csv,
	      /data_general/cso_2016_population_projection_sexage_disagreggated.xlsx,
              /data_general/yem-adm2-json-1.json, /data_general/yem-adm1-json-2.json,
              /data_mobility/duration_away_{strike_id}.csv'/
	Output: Figures S10, S15

(7) FigureS11-S14_mobility_subgroup.ipynb
	Description: Robustness checks for results in Figures 2a, 2b
	Data: /data_general/drone_strike_data.csv, /data_mobility/mobility_daily.csv,
	      /data_mobility/distance_daily.csv, /data_mobility/duration_away_##.csv,
	      /data_general/cso_2016_population_projection_sexage_disagreggated.xlsx,
              /data_general/yem-adm2-json-1.json, /data_general/yem-adm1-json-2.json,
              /data_mobility/duration_away_{strike_id}.csv'/
	Output: Figures S11-S14

(8) Table1_civcas.ipynb
	Description: Regression results for Table 1 in paper
	Data: ######## TKTK ########
	Output: Figure S2b, S3-S5, S9; Table S2

(9) FigureS8_suicide_attacks.R
	Description: Plots justifying selection of comparison events for Figure 4.
	Data: Only data the user needs to download from the Global Terrorism Database,
	      we may not re-share their un-processed data.
	Output: Figure S8
